
//  Copyright (C) 2007 Richard Uhler

//?d:Add an element to an array
//?e:3undefinedundefinedbar

foo = new Array();
foo[2] = "bar";
print(foo.length);
for (i = 0; i < foo.length; i++)
{
    print(foo[i]);
}

